package cn.study.luckydomain.gateway;

import cn.study.luckyclient.dto.query.RuleListByParamQuery;
import cn.study.luckydomain.prize.PrizeEntity;
import cn.study.luckydomain.rule.RuleEntity;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.stereotype.Component;


public interface RuleGateway {
    public RuleEntity add(RuleEntity rule);
    public RuleEntity update(RuleEntity rule);
    public IPage<RuleEntity> query(RuleListByParamQuery ruleListByParamQuery);
}
